
import app, { coreRoutes } from '@skyland/core'
// import { wfcase, wfcaseStore } from '@skyland/wf-case'
// import gis from '@skyland/gis'

import fxchart from '@skyland/fxchart'

import routes from './route/routes'
import store from './store/store'
//import './assets/css/style.scss'
// import dataV from '@jiaminghi/data-view'
import '@/assets/icons' // svg 图标
import './assets/style/common/golbal.css'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
    // use
app.Vue.use(mavonEditor)

// app.Vue.use(dataV)
//挂载框架
app.mount({ routes: coreRoutes })

//挂载gis系统
// app.mount(gis)

//挂载wfcase系统
// app.mount({ store: wfcaseStore })
// app.Vue.use(wfcase)

app.Vue.use(fxchart);

//挂载本项目
app.mount({ routes, store })

app.start().then(() => {
    console.log("oh,started vued")


    // if (themeKey) {
    //     // require(`./assets/css/${themeKey}.scss`)
    //     document.getElementsByTagName('body')[0].className += themeKey; //给body添加类名
    // }
    // if (themeColorKey) {
    //     document.getElementsByTagName('body')[0].setAttribute('id', themeColorKey); //给body添加id
    // }

});